﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EntityPWS
{
    public class Interview
    {
        [Key]
        [Required]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        /// <summary>
        /// 数据唯一标识符
        /// </summary>
        public Guid Id { get; set; } = new Guid();

        [Required]
        /// <summary>
        /// 走访人
        /// </summary>
        public string? Visit_ren { get; set; }

        [Required]
        /// <summary>
        /// 走访地区
        /// </summary>
        public string? Visit_region { get; set; }

        [Required]
        /// <summary>
        /// 走访对象
        /// </summary>
        public string? Visit_objects { get; set; }

        [Required]
        /// <summary>
        /// 是否在外务工
        /// </summary>
        public bool IsOut { get; set; }

        [Required]
        /// <summary>
        /// 标记_空巢老人性别
        /// </summary>
        public bool Iable_empty { get; set; }

        [Required]
        /// <summary>
        /// 标记_贫困人口
        /// </summary>
        public bool Iable_poverty { get; set; }

        [Required]
        /// <summary>
        /// 标记_慢性病人口
        /// </summary>
        public bool Iable_chronic { get; set; }

        [Required]
        /// <summary>
        /// 出生日期
        /// </summary>
        public DateTime BirthDate { get; set; }

        [Required]
        /// <summary>
        /// 18位身份证号码
        /// </summary>
        public string? IDNumber { get; set; }

        [Required]
        /// <summary>
        /// 注册时间
        /// </summary>
        public DateTime AddTime { get; set; }
    }
}
